home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
remote
/
bat2fd10.zip
/
STOP2.BAT
< prev
Wrap
DOS Batch File
|
1990-11-03
|
759b
|
32 lines
Rem
Rem =================================================
Rem = Batchfile to take node 2 unconditionally down =
Rem =================================================
Rem
Rem This batchfile loops untill Node 2 is down,
Rem no matter how long it takes.
Rem
Rem First check whether Node 2 is already Down
If Exist C:\Ra\Line2\Down Goto Ready
Rem
Rem If it isn't then flag that it should stop it's activity
Rem
Rem > C:\Ra\Line2\GoDown
:Loop
If Not Exist C:\Fd\Fd2\FdExit.160 Rem > C:\Fd\Fd2\FdExit.160
Echo Waiting for Node 2 to stop
DvComand Wait 80
If Not Exist C:\Ra\Line2\Down Goto Loop
Rem
Rem Now Node 2 is down, delete the signal that let's it stop
Rem
If Exist C:\Fd\Fd2\FdExit.160 Del C:\Fd\Fd2\FdExit.160
:Ready